package com.scy.sqlSession;

import java.util.List;

/**
 * @author 司晨雨
 * @date 2020/4/28 0:13
 * @description
 */
public interface SqlSession {

     <E> List<E> selectList(String statementid, Object... params) throws Exception;

     <T> T selectOne(String statementid,Object... params) throws Exception;

     int update(String statementid, Object... params) throws Exception;

     int delete(String statementid, Object... params) throws Exception;

     int add(String statementid, Object... params) throws Exception;

     <T> T getMapper(Class<?> mapperClass);

}
